﻿using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace CommonUtils.Web.Test
{
    public class RechargeCode
    {
        /// <summary>
        /// ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        [Comment("充值序列号")]
        [Column("Value")]//value是关键字，这里要额外照顾
        [Description("注释测试")]//注释测试
        public string Value { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 是否已消费
        /// </summary>
        public bool Consumed { get; set; }

        /// <summary>
        /// 消费时间
        /// </summary>
        public DateTime ConsumTime { get; set; }
    }
}
